import http from "@/utils/http"

export const getMemberCartAPI = () => {
  return http({
    method: "GET",
    url: "/member/cart",
  })
}

export const deleteCartAPI = (data) => {
  return http({
    method: "DELETE",
    url: `/member/cart`,
    data,
  })
}

export const putCartAPI = (skuId,data) => {
  return http({
    method: "PUT",
    url: `/member/cart/${skuId}`,
    data,
  })
}
